package cn.tedu.eguser1.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;

public class UserUpdateParam {
    @Schema(description = "用户编号",  required = true,  example = "1")
    private Long id;
    @Schema(description = "用户名",  required = true,  example = "admin")
    private String username;
    @Schema(description = "密码",  required = true,  example = "123456")
    private String password;
    @Schema(description = "昵称",  required = true,  example = "管理员")
    private String nickname;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return "UserUpdateParam{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                '}';
    }
}
